//
//  HTColorDefines.h
//  hunter
//
//  Created by MEOS on 15/7/6.
//  Copyright (c) 2015年 HT. All rights reserved.
//

#ifndef hunter_HTColorDefines_h
#define hunter_HTColorDefines_h


#define MAIN_COLOR [UIColor colorWithRed:239.0/255.0 green:69.0/255.0 blue:62.0/255.0 alpha:1.0]
#define TAB_BAR_ITEM_COLOR [UIColor colorWithRed:112.0/255.0 green:112.0/255.0 blue:112.0/255.0 alpha:1.0]

#define KColorWithRGBA(r,g,b,a)      [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
#define KMainColor                   KColorWithRGBA(238, 37, 51, 1)
#define DEFAULT_COLOR [UIColor colorWithRed:239.0/255.0 green:239.0/255.0 blue:244.0/255.0 alpha:1.0]
#define BAD_MAIN_COLOR [UIColor colorWithRed:43.0/255.0 green:146.0/255.0 blue:75.0/255.0 alpha:1.0]
#define kColorWithRGB(r, g, b)      [UIColor colorWithRed:r/255.0   green:g/255.0 blue:b/255.0 alpha:1]
#define kPureColor(_Color_, _A_)     [UIColor colorWithRed:(_Color_/255.0) green:(_Color_/255.0) blue:(_Color_/255.0) alpha:_A_]

#define kHexRGB(rgbValue)           [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0  \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0     \
blue:((float)(rgbValue & 0xFF))/255.0               \
alpha:1.0]

#define kHexRGBA(rgbValue,_alpha_)           [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0  \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0     \
blue:((float)(rgbValue & 0xFF))/255.0               \
alpha:_alpha_]



#define kDefaultStyleColor         kColorWithRGB(0, 179, 138) 

#define kClearColor                 [UIColor clearColor]


//#define kDefaultBackgroundColor           kPureColor(217, 1.0)            //分割线颜色
#define kSelectedCellColor          kPureColor(233.0, 1.0)          //cell 选中色

#define kDefaultBackgroundColor        kHexRGB(0xeeeeee)// kColorWithRGB(255, 152, 0)


//#define kDefaultBackgroundColor         

#endif
